package com.hymall.service.admin;

import com.hymall.bean.MarketOrder;
import com.hymall.bean.common.BasePageInfo;
import com.hymall.bean.common.CommonData;
import com.hymall.bean.vo.AdminOrderChannelVo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author: 牟治宇
 * @description 商场订单Service
 * @date: 2022/7/18 11:40
 */


public interface OrderService {


    Map<String, Object> queryOrderDetail(Integer id);


    int orderRefund(BigDecimal refundMoney, Integer orderId);


    CommonData getOrderList(Date start, Date end, Short[] orderStatusArray,
                            Integer id, Integer oid, String orderSn, BasePageInfo basePageInfo);

    List<AdminOrderChannelVo> getChannel();

    int insertComment(String commentId, String content);

}
